<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'payee-information-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'name_of_payee'); ?>
		<?php echo $form->textField($model,'name_of_payee',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'name_of_payee'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'icno'); ?>
		<?php echo $form->textField($model,'icno',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'icno'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date_of_birth'); ?>
		<?php echo $form->textField($model,'date_of_birth'); ?>
		<?php echo $form->error($model,'date_of_birth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'relationship'); ?>
		<?php echo $form->textField($model,'relationship',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'relationship'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bank'); ?>
		<?php echo $form->textField($model,'bank',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'bank'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'location'); ?>
		<?php echo $form->textField($model,'location',array('size'=>60,'maxlength'=>512)); ?>
		<?php echo $form->error($model,'location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bank_account'); ?>
		<?php echo $form->textField($model,'bank_account',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'bank_account'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'account_name'); ?>
		<?php echo $form->textField($model,'account_name',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'account_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bonus_payment_type'); ?>
		<?php echo $form->textField($model,'bonus_payment_type',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'bonus_payment_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bonus_payment_currency'); ?>
		<?php echo $form->textField($model,'bonus_payment_currency',array('size'=>7,'maxlength'=>7)); ?>
		<?php echo $form->error($model,'bonus_payment_currency'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->